﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MYData.Core.Controllers.Basic;
using MYData.Core.Filters;
using MYData.System.IServices.System;


namespace MYData.WebApi.Controllers.System
{
    /// <summary>
    /// 部门控制器
    /// </summary>
    [Route("api/depart")]
    [ApiController, JWTAuthorize()]
    [ApiExplorerSettings(IgnoreApi = false)]
    public partial class DepartController : ApiAllBaseController<ITb_DepartService>
    {
        private ITb_DepartService _depart { get; set; }
        public DepartController(ITb_DepartService depart) :
            base("System", "System", "Tb_Project_Department", depart)
        {
            _depart = depart;
        }
    }
}
